﻿using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Collections;
using System.Collections.Generic;

namespace Kunlun.Models
{
    [Table("Works")]
    public class Works
    {
        public int ID { get; set; }

        public string ProductID { get; set; }

        public int TempID { get; set; }

        public int UserID { get; set; }

        public string WorksName { get; set; }

        public string Thumbnail { get; set; }

        public int PagesCount { get; set; }

        public DateTime CreateTime { get; set; }

        public DateTime ModifyTime { get; set; }

        public string XMLPath { get; set; }
        public bool IsMake { get; set; }


		public int WorkType {
			get;
			set;
		}

		public bool IsEdit {
			get;
			set;
		}

		public decimal Price {
			get;
			set;
		}

		public int Width {
			get;
			set;
		}

		public int Height {
			get;
			set;
		}
    }

	public enum WorkTypeEnum {
		框画 = 0,
		照片书 = 1
	}
}
